Elasticsearch\Connections\Connection B

Total Complexity 97
Dependencies 26
Dependents 6
Total lines 691
Lines of code 409
Logical lines of code 226
Comment lines 122
Methods 29
Properties 16

Methods 29

Method Rating Maintainability Complexity Lines of code
wrapHandler()
B
38 17 65
__construct()
A
45 9 41
tryDeserializeError()
A
49 9 31
process4xxError()
A
50 9 26
process5xxError()
A
52 8 22
performRequest()
A
49 7 31
getURI()
S
55 6 19
getCurlRetryException()
S
57 4 17
buildCurlCommand()
S
59 4 13
ping()
S
54 3 23
getOSVersion()
S
66 3 8
logRequestFail()
S
51 1 28
logRequestSuccess()
S
52 1 27
getLastRequestInfo()
S
82 1 3
getPath()
S
82 1 3
tryDeserialize500Error()
S
79 1 3
tryDeserialize400Error()
S
79 1 3
getPort()
S
82 1 3
getPingFailures()
S
82 1 3
getUserPass()
S
78 1 3
getHost()
S
82 1 3
getTransportSchema()
S
82 1 3
getLastPing()
S
82 1 3
markAlive()
S
73 1 5
isAlive()
S
82 1 3
sniff()
S
65 1 9
logWarning()
S
78 1 3
getHeaders()
S
82 1 3
markDead()
S
73 1 5